package com.qf.fmw.dao;

import com.qf.fmw.entity.bo.AddressBo;
import com.qf.fmw.entity.bo.OrderBo;

import java.util.List;

public interface AddressDao {
    List<AddressBo> selectAllAddresses();
    List<AddressBo> searchAddress(String query);
    Integer deleteAddress(int addressId);
    boolean addAddress(String name, String phone, String detail, int state);
    boolean updateAddress(int addressId, String name, String phone, String detail, int state);
}
